package cn.cdeden.resource.domain.vo;

import cn.cdeden.resource.domain.SysOssBarrel;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 对象存储桶配置配置视图对象 sys_oss_barrel
 *
 * @author Yu.
 * @date 2024-12-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysOssBarrel.class)
public class SysOssBarrelVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 桶编号主键
     */
    @ExcelProperty(value = "桶编号主键")
    private Long ossBarrelId;

    /**
     * 配置编号
     */
    @ExcelProperty(value = "配置编号")
    private Long ossConfigId;

    /**
     * 桶名称
     */
    @ExcelProperty(value = "桶名称")
    private String bucketName;

    /**
     * 前缀
     */
    @ExcelProperty(value = "前缀")
    private String prefix;

    /**
     * 桶权限类型(0=private 1=public 2=custom)
     */
    @ExcelProperty(value = "桶权限类型(0=private 1=public 2=custom)")
    private String accessPolicy;

    /**
     * 扩展字段
     */
    @ExcelProperty(value = "扩展字段")
    private String ext1;

    /**
     * 版本类型(0=OFF 1=Enabled 2=Suspended)
     */
    @ExcelProperty(value = "版本类型(0=OFF 1=Enabled 2=Suspended)")
    private String versionPolicy;

    /**
     * 库所属模块
     */
    @ExcelProperty(value = "库所属模块")
    private String moduleType;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
